package com.example.cstr.service;

import com.example.cstr.entity.File;
import com.example.cstr.entity.Message;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface FileService {


    int deleteByPrimaryKey(Integer fileId);

    int insert(File record);

    int insertSelective(File record);

    File selectByPrimaryKey(Integer fileId);

    int updateByPrimaryKeySelective(File record);

    int updateByPrimaryKey(File record);

    List<File> selectAllFile();

    Message PagingSearch(@RequestParam Integer pageNum, @RequestParam Integer size);

    List<File> selectFileInfoByscId(Integer scId);

    int removeMyFileByOrdName(String fileName);
}





